﻿using MCPlatform.MotionLib.Base.Models;
using MCPlatform.UI.Controls.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace MCPlatform.UI.Controls.Views
{
    /// <summary>
    /// Axis.xaml 的交互逻辑
    /// </summary>
    public partial class Axis : UserControl
    {
        public Axis()
        {
            InitializeComponent();
        }



        

        public MotionModel MotionModel
        {
            get { return (MotionModel)GetValue(MotionModelProperty); }
            set { SetValue(MotionModelProperty, value); }
        }

        // Using a DependencyProperty as the backing store for MyProperty.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty MotionModelProperty =
            DependencyProperty.Register("MotionModel", typeof(MotionModel), typeof(Axis), new PropertyMetadata(default));

        public MotionParaModel MotionParaModel
        {
            get { return (MotionParaModel)GetValue(MotionParaModelProperty); }
            set { SetValue(MotionParaModelProperty, value); }
        }

        // Using a DependencyProperty as the backing store for MyProperty.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty MotionParaModelProperty =
            DependencyProperty.Register("MotionParaModel", typeof(MotionParaModel), typeof(Axis), new PropertyMetadata(default));

    }
}
